package com.liao.myblog.service;

import com.liao.myblog.pojo.Admin;
import org.springframework.web.bind.annotation.RequestParam;

public interface AdminService {

    Admin adminLogin(String username, String password);

    int updateName(String username, String nickName, int id);

    Admin queryAdmin(int id);

    int updatePwd(int id,String password);



}
